<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Diamonds</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="R.css" />
</head><body>

<table width="100%" summary="page for Diamonds"><tr><td>Diamonds</td><td style="text-align: right;">R Documentation</td></tr></table>

<h2>Diamonds</h2>

<h3>Description</h3>

<p>Diamonds
</p>


<h3>Format</h3>

<p>A dataset with 351 observations on the following 6 variables.
</p>

<table summary="Rd table">
<tr>
 <td style="text-align: right;">
    <code>Carat</code> </td><td style="text-align: left;"> Size of the diamond (in carats)</td>
</tr>
<tr>
 <td style="text-align: right;">
    <code>Color</code> </td><td style="text-align: left;"> Coded as <code>D</code>(most white/bright) through  <code>J</code></td>
</tr>
<tr>
 <td style="text-align: right;">
    <code>Clarity</code> </td><td style="text-align: left;"> Coded as <code>IF</code>, <code>VVS1</code>, <code>VVS2</code>, <code>VS1</code>, <code>VS2</code>, <code>SI1</code>, <code>SI2</code>, or <code>SI3</code> </td>
</tr>
<tr>
 <td style="text-align: right;">
    <code>Depth</code> </td><td style="text-align: left;"> Depth (as a percentage of diameter)</td>
</tr>
<tr>
 <td style="text-align: right;">
    <code>PricePerCt</code> </td><td style="text-align: left;"> Price per carat</td>
</tr>
<tr>
 <td style="text-align: right;">
    <code>TotalPrice</code> </td><td style="text-align: left;"> Price for the diamond (in dollars)</td>
</tr>
<tr>
 <td style="text-align: right;">
  </td>
</tr>

</table>



<h3>Details</h3>

<p>Data for a sample of diamonds. The clarity of the diamonds ranges from IF (internally flawless) 
through VVS1 (very,very slightly included), VS1 (very slightly included), to SI3 (slightly included) in the order listed above.
</p>


<h3>Source</h3>

<p>Diamond data obtained from AwesomeGems.com on July 28, 2005.
</p>


</body></html>
